# Template file for 'kolourpaint'
pkgname=kolourpaint
version=18.08.2
revision=1
short_desc="Free, easy-to-use paint program for KDE"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
build_style=cmake
hostmakedepends="extra-cmake-modules"
makedepends="kdelibs4support-devel kparts-devel qt5-devel"
homepage="http://www.kolourpaint.org/"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=5bc9072dba7238f8bdef2d344a7e8e82207a290ea0d7991b2ee68c3a2ab705e2
license="BSD-2-Clause, GPL-2.0-or-later, LGPL-2.1-only, GFDL-1.2-only"

if [ -n "$CROSS_BUILD" ]; then
	hostmakedepends+=" python qt5-host-tools qt5-qmake kconfig kdoctools"
fi

post_install() {
	vlicense COPYING COPYING.DOC COPYING.LIB
}
