# Template file for 'qtkeychain'
pkgname=qtkeychain
version=0.6.0
revision=1
build_style=cmake
makedepends="icu-devel qt-devel"
short_desc="Platform-independent Qt API for storing passwords securely"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="2-clause-BSD"
homepage="https://github.com/frankosterfeld/qtkeychain"
distfiles="https://github.com/frankosterfeld/${pkgname}/archive/v${version}.tar.gz"
checksum=0eb1275abd9a577f4d57a3272e9d3fb474f6d1752b6a27ee2b55759ea4763eb0
nocross=yes

post_install() {
	vlicense COPYING
}

qtkeychain-devel_package() {
	depends="qtkeychain>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove usr/lib/*.so
	}
}
