# Template file for 'libassuan'
pkgname=libassuan
version=2.2.1
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@voidlinux.eu>"
license="GPL-2"
homepage="http://www.gnupg.org/related_software/libassuan"
distfiles="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$version.tar.bz2"
checksum=949285bb79345362cb72a40c798defefc007031c60f2f10251720bf60a9de2de

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
	}
}
