# Template file for 'krdc'
pkgname=krdc
version=17.08.1
revision=1
build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python freerdp
 kcoreaddons kdoctools kconfig"
makedepends="kconfig-devel kcmutils-devel kdnssd-devel knotifyconfig-devel
 knotifications-devel kbookmarks-devel kiconthemes-devel kxmlgui-devel
 kcompletion-devel kwallet-devel kwidgetsaddons-devel knotifyconfig-devel
 ki18n-devel libvncserver-devel"
depends="freerdp"
short_desc="Remote Desktop Client supporting VNC and RDP"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2, GFDL-2.1, LGPL-2.1"
homepage="https://kde.org/applications/internet/krdc/"
distfiles="https://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=972227ea83710bab1f5d722389a0fe71bd5f8a06abf95e5dfb2b8555003fd0d1

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

