# Template file for 'kcolorchooser'
pkgname=kcolorchooser
version=22.12.1
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"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kcolorchooser"
distfiles="${KDE_SITE}/release-service/${version}/src/kcolorchooser-${version}.tar.xz"
checksum=a4a9ca4a0adffef7fdb33c9252157492973916e0aa1a97f19d9ac964eab970ce

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

post_install() {
	vlicense COPYING
}
