# Template file for 'akonadi-notes'
pkgname=akonadi-notes
version=21.08.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules python3 qt5-qmake qt5-host-tools
 gettext kcoreaddons"
makedepends="kmime-devel akonadi5-devel"
short_desc="Libraries and daemons to implement notes management in Akonadi"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://kontact.kde.org/"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=b8d20bcfdb0e2a381b3ca73cc4307754af77f96a7127a871e0146b05547a2964

akonadi-notes-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove usr/lib/qt5/mkspecs
		vmove "usr/lib/*.so"
	}
}
