# Template file for 'kf6-ktextwidgets'
pkgname=kf6-ktextwidgets
version=6.6.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
 gettext"
makedepends="kf6-kcompletion-devel kf6-kconfig-devel kf6-kconfigwidgets-devel
 qt6-speech-devel qt6-multimedia-devel qt6-speech-plugin-flite
 qt6-speech-plugin-mock qt6-speech-plugin-speechd kf6-sonnet-devel"
short_desc="KDE Text editing widgets"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/ktextwidgets"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=805dff320b75a62316fe50aa33eedb355c1e2db36d00b58c39fc36ce6bfd8988

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