# Template file for 'neochat'
pkgname=neochat
version=23.01.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules gettext pkg-config qt5-qmake
 qt5-host-tools kcoreaddons kconfig AppStream"
makedepends="kquickimageeditor-devel libQuotient-devel qtkeychain-qt5-devel
 qt5-multimedia-devel kirigami2-devel ki18n-devel cmark-devel
 knotifications-devel kconfig-devel kcoreaddons-devel qqc2-desktop-style-devel
 sonnet-devel kitemmodels-devel kirigami-addons kconfigwidgets-devel kio-devel
 qcoro-qt5-devel"
depends="kquickimageeditor"
short_desc="Client for matrix from KDE"
maintainer="Justin Jagieniak <justin@jagieniak.net>"
license="GPL-3.0-only, GPL-3.0-or-later, GPL-2.0-or-later, BSD-2-Clause"
homepage="https://apps.kde.org/en/neochat"
distfiles="${KDE_SITE}/plasma-mobile/${version}/neochat-${version}.tar.xz"
checksum=4dfb8b5c931ab440491ca511d84a493ec658ca3c4aedd4358131780e39d26a5e

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" kdoctools"
fi

post_install() {
	vlicense LICENSES/BSD-2-Clause.txt
}
