# Contributor: Cág <ca6c@bitmessage.ch>
# Maintainer: Cág <ca6c@bitmessage.ch>
pkgname=cwm
pkgver=6.2
pkgrel=0
pkgdesc="A lightweight and efficient window manager for X11"
url="https://github.com/chneukirchen/cwm"
arch="all"
license="ISC"
depends=""
makedepends="libx11-dev libxft-dev libxrandr-dev byacc bsd-compat-headers"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/chneukirchen/$pkgname/archive/v$pkgver.tar.gz
	menu-border.patch"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir/" PREFIX=/usr install
}

sha512sums="aa892bd5b47de7332bee56b6980454b5064125b1d43571d16c1bd008b5a3ff99d9964934e5bfc372dd60ce512439ea45438ab7c29f70fb21131803dbc2d8b92f  cwm-6.2.tar.gz
d83c250af671de4d3ba9fcec6b1f72dfa9c36962e392521315987088f04c76830aef49a91f8e63f7be3e3895e3bf8ef0cc874c8ebb9e6e541accd2fae70fe2b8  menu-border.patch"
