# Template file for 'libassuan'
pkgname=libassuan
version=2.5.6
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="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnupg.org/related_software/libassuan"
distfiles="https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-${version}.tar.bz2"
checksum=e9fd27218d5394904e4e39788f9b1742711c3e6b41689a31aa3380bd5aa4f426

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
		vmove usr/lib/pkgconfig
	}
}
