APP=dwm
VERSION=6.0
BUILD=1sml
HOMEPAGE="https://dwm.suckless.org"
DOWNLOAD="https://dl.suckless.org/dwm/dwm-6.0.tar.gz"
DESC="Suckless dynamic window manager"
REQUIRES="libxinerama libxext"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  make
  make install PREFIX="/" MANPREFIX=/share/man DESTDIR=$PKG 

  cp LICENSE $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
4db1c21d87b030236c381209ed56eedd15f47faf225a33ffa240f82612b9e0ec0287fa3c7c3e446704416032ae7c52559b482db9f60500ec0d6f5ad88328066a  dwm-6.0.tar.lz
"
