# Maintainer: Icaro Perseo <icaro[dot]perseo[at]gmail[dot]com>

pkgname=mat
pkgver=0.5.3
pkgrel=1rvm

source=("https://mat.boum.org/files/$pkgname-$pkgver.tar.xz")

sourcetemplate="http://people.salixos.org/icaroperseo/14.1/xap/$pkgname"
docs=('README' 'README.security')
url="https://mat.boum.org/"

slackdesc=\
(
#|-----handy-ruler---------------------------------------------------|
"mat (Metadata Anonymisation Toolkit)"
"MAT is a toolbox composed of a GUI application, a CLI application"
"and a library, to anonymize/remove metadata."
)

build() {

  # Acceding to the working directory.

  cd $startdir/src/$pkgname-$pkgver

  # Building the package.

  python setup.py install \
    --prefix=/usr \
    --root=$startdir/pkg/
}