aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mutt.rb
diff options
context:
space:
mode:
authorAlexis Hildebrandt2010-01-14 23:36:08 +0100
committerMax Howell2010-01-24 12:27:39 +0000
commiteae0d2da68e00427e203671a19a933ea0031491a (patch)
tree51b65780d29339cf3c7ec56a8105f4f750a76b0b /Library/Formula/mutt.rb
parent209402e1a4bbbbfa0b269645394b750f37248e95 (diff)
downloadhomebrew-eae0d2da68e00427e203671a19a933ea0031491a.tar.bz2
Update Formula: mutt
Add --sidebar-patch option to enable folder list sidebar.
Diffstat (limited to 'Library/Formula/mutt.rb')
-rw-r--r--Library/Formula/mutt.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/mutt.rb b/Library/Formula/mutt.rb
index 5eee70272..0be3d62bf 100644
--- a/Library/Formula/mutt.rb
+++ b/Library/Formula/mutt.rb
@@ -5,6 +5,18 @@ class Mutt <Formula
@homepage='http://www.mutt.org/'
@md5='027cdd9959203de0c3c64149a7ee351c'
+ def options
+ [
+ ['--sidebar-patch', "Apply sidebar (folder list) patch"]
+ ]
+ end
+
+ def patches
+ if ARGV.include? '--sidebar-patch'
+ 'http://lunar-linux.org/~tchan/mutt/patch-1.5.20.sidebar.20090619.txt'
+ end
+ end
+
def install
configure_args = [
"--prefix=#{prefix}",