# Template file for 'qca'
pkgname=qca
version=2.0.3
revision=1
build_style=configure
configure_args="--prefix=/usr --disable-tests --release --no-separate-debug-info
 --certstore-path=/etc/ssl/certs/ca-certificates.crt"
hostmakedepends="which"
makedepends="qt-devel ca-certificates"
depends="ca-certificates"
short_desc="Qt Cryptographic Architecture"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://delta.affinix.com/qca/"
distfiles="http://delta.affinix.com/download/qca/2.0/${pkgname}-${version}.tar.bz2"
checksum=8da20c89f390954fdcfcd3c4deef379213ddb5ae9d6b5e0c917d23f5e474895f

do_install() {
	make INSTALL_ROOT=${DESTDIR} install
}

qca-devel_package() {
	depends="qt-devel ${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/qt
	}
}
