# Template file for 'libassuan'
pkgname=libassuan
version=2.1.2
revision=1
build_style=gnu-configure
configure_args="--with-libgpg-error-prefix=${XBPS_CROSS_BASE}/usr"
makedepends="libgpg-error-devel"
short_desc="IPC library used by some GnuPG related software"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.gnupg.org/related_software/libassuan"
distfiles="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$version.tar.bz2"
checksum=39f8a7c9349aaaf7ccd937b90660153ec4d2d4df2465018754e5bcae5b1db77b

libassuan-devel_package() {
	depends="libgpg-error-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin
		vmove usr/include
		vmove "usr/lib/*.so"
		vmove usr/share
	}
}
