homebrew-core/Formula/mailutils.rb
2016-10-01 15:52:50 -04:00

31 lines
1.1 KiB
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 "bdc449caa3a5fc24e634838c04580c91534f5e33513c390d2d0f1005492ecb29" => :sierra
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