# Template file for 'kate'
pkgname=kate
version=4.14.3
revision=1
build_style=cmake
configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF -DSYSCONF_INSTALL_DIR=/etc -DCMAKE_BUILD_TYPE=Release"
hostmakedepends="cmake automoc4 perl"
makedepends="kdelibs-devel qt-devel phonon-devel kde-baseapps-devel"
short_desc="K Advanced Text Editor"
maintainer="Norbert Vegh <vegh@norvegh.com>"
license="GPL-2"
homepage="http://www.kate-editor.org/"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=513d4ae2c36fa6b59caf3b2b685e3ea1167093d16025859cfac90d75617e707d

kate-devel_package() {
	depends="${pkgname}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include/
		vmove "usr/lib/libkate*.so"
	}
}
