NAME="xscreensaver"
DESC="Modular screen saver and locker for the X Window System"
VERSION="6.08"
FILES=("https://www.jwz.org/xscreensaver/xscreensaver-$VERSION.tar.gz")
HASHES=("a333d4921ed3a8219f3b672dd68543aea31fcd64ea6766143f1c7f6e5ed3bc7122355635d5afba1632457ad71a11cabdc7b2756431e4f1dc7e0426ae0896e6db")
DEPENDS=("gtk3" "libglade" "glu" "xorg")

PACKAGE() {
  tar xf $NAME-$VERSION.tar.gz
  cd $NAME-$VERSION

  ./configure --prefix=/usr
  make && make install_prefix="$ROOTDIR" install

  cd .. && rm -r $NAME-$VERSION
}
