# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Remi Gacogne <rgacogne-arch at coredump dot fr>

pkgname=sslscan
pkgver=1.10.2
pkgrel=2
pkgdesc="A fast tools to scan SSL services, such as HTTPS to determine the ciphers that are supported"
url="https://github.com/DinoTools/sslscan/"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('openssl')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/DinoTools/${pkgname}/archive/${pkgver}.tar.gz)
sha512sums=('b7bf9a12c0469893bf1ada53f42cf0a7c286d6bcb5db260ea0ecd6c332ccb8ec6caafa07cd78d15582af5d154b6f4c84cee55ba2fe5a286cb9bd3f9c83e60c34')

build() {
  cd ${pkgname}-${pkgver}
  LDFLAGS="${LDFLAGS} -lssl -lcrypto" make
}

package() {
  cd ${pkgname}-${pkgver}
  make BINPATH="${pkgdir}/usr/bin" MANPATH="${pkgdir}/usr/share/man" install
}

# vim:set ts=2 sw=2 et:
