APP=cmatrix
VERSION=2.0
BUILD=1sml
HOMEPAGE="https://github.com/abishekvashok/cmatrix"
DOWNLOAD="https://github.com/abishekvashok/cmatrix/archive/refs/tags/v2.0.tar.gz"
DESC="Terminal application that emulates The Matrix movie scroll lines on the screen"
REQUIRES="netbsd-curses"

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

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

  autoreconf -vif

  ./configure \
    --prefix="" \
    --sysconfdir=/etc

  make 
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
1aeecd8e8abb6f87fc54f88a8c25478f69d42d450af782e73c0fca7f051669a415c0505ca61c904f960b46bbddf98cfb3dd1f9b18917b0b39e95d8c899889530  cmatrix-2.0.tar.gz
"
