# Template file for 'kwallet'
pkgname=kwallet
version=5.109.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=ON"
hostmakedepends="gettext kcoreaddons extra-cmake-modules
 qt5-host-tools qt5-qmake python3 kdoctools"
makedepends="kdoctools-devel gpgmepp-devel libgcrypt-devel
 kservice-devel knotifications-devel kiconthemes-devel
 gpgmeqt-devel qca-qt5-devel"
short_desc="KDE Safe desktop-wide storage for passwords"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kwallet"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=8c68700c4e8355eddd1978ec721b983753380d2f7e57139ac7715e4122a764e8

kwallet-devel_package() {
	short_desc+=" - development"
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/qt5/mkspecs
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}