homebrew-core/Formula/mailutils.rb
2016-07-02 21:59:53 +01:00

30 lines
993 B
Ruby

class Mailutils < Formula
desc "Swiss Army knife of email handling"
homepage "http://mailutils.org/"
url "https://ftpmirror.gnu.org/mailutils/mailutils-2.2.tar.gz"
mirror "https://ftp.gnu.org/gnu/mailutils/mailutils-2.2.tar.gz"
sha256 "97591debcd32ac1f4c4d16eaa8f21690d9dfefcb79e29bd293871d57c4a5e05d"
revision 2
bottle do
sha256 "c7c974534ca6db72c3516a777763c94080b3a45d867b393a048d4f681edce5d6" => :el_capitan
sha256 "e7bc5e495d073e9a9630524c1a77408e530cc2659ff79ea63354b2b7bf168231" => :yosemite
sha256 "1568cfc945f5ec8c06936b583aab81966bff79fc78fb064cdb8788f4c8c82dac" => :mavericks
end
depends_on "gnutls"
depends_on "gsasl"
def install
# Python breaks the build (2014-05-01)
# Don't want bin/mu-mh/ directory
system "./configure", "--without-python",
"--disable-mh",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/movemail", "--version"
end
end