# Maintainer: ArchStrike <team@archstrike.org>

buildarch=1

pkgname=xsss
pkgver=0.40b
pkgrel=7
groups=('archstrike' 'archstrike-webapps' 'archstrike-bruteforce')
pkgdesc='brute force cross site scripting scanner'
arch=('any')
url='http://www.sven.de/xsss/'
license=('GPL')
depends=('perl-www-mechanize')
source=("http://www.sven.de/xsss/xsss-${pkgver}.tar.gz")
sha512sums=('833275a379b7184e5aeeecf791a53336064f0e395a0fba522b1d46486e2ae6704d664e2634e26abb80274286876c2f537274ec0b3d76bcd01e63e9a14e0cc244')

package() {
  cd "${srcdir}/${pkgname}-${pkgver}" || exit

  install -Dm755 xsss "${pkgdir}/usr/bin/xsss"
  install -Dm644 README "${pkgdir}/usr/share/doc/xsss/README"
}
