# Template file for 'krdc'
pkgname=krdc
version=21.08.2
revision=1
build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3 freerdp
 kcoreaddons kdoctools kconfig gettext"
makedepends="kconfig-devel kcmutils-devel kdnssd-devel knotifyconfig-devel
 knotifications-devel kbookmarks-devel kiconthemes-devel kxmlgui-devel
 kcompletion-devel kwallet-devel kwidgetsaddons-devel ki18n-devel
 libvncserver-devel"
depends="freerdp"
short_desc="Remote Desktop Client supporting VNC and RDP"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, GFDL-1.2-only, LGPL-2.1-or-later"
homepage="https://kde.org/applications/en/internet/org.kde.krdc"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=6d593dff61ed091f3188b76f49685ef01c74b6021656169de5a4814cf472377f

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