# Template file for 'kwin'
pkgname=kwin
version=5.8.7
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules breeze pkg-config"
makedepends="plasma-framework-devel kcmutils-devel knewstuff-devel kscreenlocker-devel kinit-devel xcb-util-cursor-devel qt5-multimedia-devel kdecoration-devel libxkbcommon-devel libinput-devel libSM-devel libICE-devel"
depends="breeze hicolor-icon-theme kinit"
short_desc="KDE Window manager"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2"
homepage="https://projects.kde.org/projects/plasma/kwin"
distfiles="http://download.kde.org/stable/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=62266b62b68757aabd5f94d2f599f5d774fd225f4767a3916ab5f150881c879b

kwin-devel_package() {
	short_desc+=" - development"
	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
	}
}
