aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mutt.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/mutt.rb b/Library/Formula/mutt.rb
index ebb589bf1..9bfa67494 100644
--- a/Library/Formula/mutt.rb
+++ b/Library/Formula/mutt.rb
@@ -6,12 +6,14 @@ class Mutt < Formula
md5 'a29db8f1d51e2f10c070bf88e8a553fd'
depends_on 'tokyo-cabinet'
+ depends_on 'slang' if ARGV.include? '--with-slang'
def options
[
['--enable-debug', "Build with debug option enabled"],
['--sidebar-patch', "Apply sidebar (folder list) patch"],
- ['--trash-patch', "Apply trash folder patch"]
+ ['--trash-patch', "Apply trash folder patch"],
+ ['--with-slang', "Build against slang instead of ncurses"]
]
end
@@ -55,6 +57,10 @@ class Mutt < Formula
args << "--disable-debug"
end
+ if ARGV.include? '--with-slang'
+ args << "--with-slang"
+ end
+
system "./configure", *args
system "make install"
end