# Template file for 'xca'
pkgname=xca
version=2.9.0
revision=1
build_style=cmake
build_helper=qemu
hostmakedepends="pkg-config qt6-base qt6-tools"
makedepends="qt6-base-devel qt6-tools-devel openssl-devel"
depends="qt6-plugin-sqlite"
short_desc="X Certificate and Key Management"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://hohnstaedt.de/xca"
distfiles="https://github.com/chris2511/xca/releases/download/RELEASE.${version}/xca-${version}.tar.gz"
checksum=c8a956f6f0660356b725cb06ef5835dfb36526043a4f8c1cfe7674bb7bdd6c5c

post_patch() {
	sed -i 's/LinguistTools/Linguist/' CMakeLists.txt
}

post_install() {
	vlicense COPYRIGHT
}
