# Template file for 'sxwm'
pkgname=sxwm
version=1.7
revision=1
build_style=gnu-makefile
makedepends="libX11-devel libXinerama-devel libXcursor-devel"
depends="libX11 libXinerama libXcursor"
short_desc="Minimal, fast, and highly configurable tiling window manager for X11"
maintainer="rooyca <rooyca@gmail.com>"
license="MIT"
homepage="https://github.com/uint23/sxwm"
distfiles="https://github.com/uint23/sxwm/archive/refs/tags/v${version}.tar.gz"
checksum=874f28d2a5c625fc4a7d91aae7a96a58760ff64fa223a3398048a18071219570

LDFLAGS="-lX11 -lXinerama -lXcursor"

post_install() {
	vinstall default_sxwmrc 644 usr/share/examples/sxwm sxwmrc
	vlicense LICENSE
	rm -rf "${DESTDIR}/tmp"
}
