APP=twm
VERSION=1.0.10
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org"
DOWNLOAD="https://xorg.freedesktop.org/releases/individual/app/twm-1.0.10.tar.bz2"
DESC="standard window manager for the X window system"
REQUIRES="e2fsprogs libxau libxdmcp libxmu "

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

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

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
2806db1c3cd4e7015b365cd24b65e2315194069caf2127138d8e4453634caa270dc0ccd8f818e0dbec2ada03cf5c075b814df603dd3dce7623cef0278ed93924  twm-1.0.10.tar.lz
"
