# Maintainer: Alexey Pavlov <alexpux@gmail.com>

pkgname=sshpass
pkgver=1.09
pkgrel=1
pkgdesc='Fool ssh into accepting an interactive password non-interactively'
arch=('i686' 'x86_64')
url='https://sourceforge.net/projects/sshpass/'
groups=('net-utils')
license=('GPL')
depends=('openssh')
source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('71746e5e057ffe9b00b44ac40453bf47091930cba96bbea8dc48717dedc49fb7')

build() {
  cd $pkgname-$pkgver
  ./configure --build=${CHOST} --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
