# Template file for 'libksba'
pkgname=libksba
version=1.6.6
revision=1
build_style=gnu-configure
makedepends="libgpg-error-devel"
short_desc="CMS and X.509 access library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later,LGPL-3.0-or-later"
homepage="https://www.gnupg.org/related_software/libksba/index.html"
distfiles="https://gnupg.org/ftp/gcrypt/libksba/libksba-${version}.tar.bz2"
checksum=5dec033d211559338838c0c4957c73dfdc3ee86f73977d6279640c9cd08ce6a4

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