# Template file for 'kqtquickcharts'
pkgname=kqtquickcharts
version=21.08.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake"
makedepends="qt5-declarative-devel"
depends="qt5-quickcontrols2"
short_desc="QtQuick plugin to render beautiful and interactive charts"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://edu.kde.org/"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=164accd3d41ed98601816c0d7f06fa21e8f965aa83ba6f3f39b29e4d11e29d11

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