# Template file for 'kf6-kwallet'
pkgname=kf6-kwallet
version=6.8.0
revision=1
build_style=cmake
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
 gettext kf6-kdoctools kf6-kconfig"
makedepends="kf6-kconfig-devel kf6-kcoreaddons-devel kf6-kcrash-devel
 kf6-kwindowsystem-devel kf6-kcolorscheme-devel kf6-kdbusaddons-devel
 kf6-knotifications-devel kf6-kwidgetsaddons-devel kf6-kdoctools-devel
 gpgmepp-devel qca-qt6-devel libgcrypt-devel"
short_desc="KWallet: Credential Storage"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kwallet"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=e0b5311d88d92ca5bde4c24ae875dc3a4fc67e9319d0de2a49e25d04461e8628

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