# Template file for 'kwallet'
pkgname=kwallet
version=5.84.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 boost-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=6c58517faaacbddaffe6118ecd3e05b78c0cec5936824800cb3cd10f04c208d4

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"
	}
}