#!/bin/sh -e

./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    --mandir=/usr/share/man \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --disable-nls \
    --enable-daemon \
    --enable-utp \
    --without-systemd-daemon \
    --without-gtk

make LDFLAGS=-all-static
make DESTDIR="$1" install