# Template file for 'kcolorchooser'
pkgname=kcolorchooser
version=21.08.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules kcoreaddons gettext"
makedepends="qt5-devel kxmlgui-devel"
short_desc="KDE's Color Chooser"
maintainer="travankor <travankor@tuta.io>"
license="MIT"
homepage="https://kde.org/applications/en/graphics/org.kde.kcolorchooser"
distfiles="${KDE_SITE}/release-service/${version}/src/kcolorchooser-${version}.tar.xz"
checksum=27ac1a698ac98a4c78d102f6fa74cb8fb8909f891867c457f5863b6b949bfad2

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-host-tools qt5-devel"
fi

post_install() {
	vlicense COPYING
}
