# Template file for 'kdepim-runtime'
pkgname=kdepim-runtime
version=21.08.1
revision=1
build_style=cmake
# XXX KolabLibraries, Kolabxml
hostmakedepends="extra-cmake-modules python3 kdoctools kdesignerplugin
 gettext qt5-qmake qt5-host-tools"
makedepends="akonadi-calendar-devel akonadi-notes-devel knotifyconfig-devel
 pimcommon-devel kdav-devel libkgapi-devel kalarmcal-devel kmbox-devel
 qt5-networkauth-devel qca-qt5-devel qt5-webengine-devel"
short_desc="KDE PIM runtime applications/libraries"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later, AGPL-3.0-or-later, BSD-3-Clause, BSD-2-Clause"
homepage="https://invent.kde.org/unmaintained/kdepimlibs"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=a9ee71148307ad532db409367b9742c05cb75d885fc2b52fffb740ed75d9262a

post_install() {
	for license in AGPL-3.0-or-later.txt BSD-3-Clause.txt BSD-2-Clause.txt; do
		vlicense LICENSES/$license
	done
}
