# Template file for 'kleopatra'
pkgname=kleopatra
version=22.12.1
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules kdoctools qt5-qmake qt5-host-tools kcoreaddons gettext kconfig"
makedepends="kcmutils-devel AppStream kitemmodels-devel gpgmeqt-devel libkleo-devel kmime-devel"
depends="gnupg>=2"
checkdepends="dbus gnupg"
short_desc="Certificate Manager and Unified Crypto GUI"
maintainer="Justin Jagieniak <justin@jagieniak.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later, GFDL-1.2-or-later"
homepage="https://www.kde.org/applications/utilities/kleopatra/"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=492e4176687b592d4ef80704985f2ed8290f9287ce100b96546b2f1c5808e36d

do_check() {
	dbus-run-session ninja -C build test
}

post_install() {
	vdoc $FILESDIR/README.voidlinux
}