diff --git a/Formula/mutt.rb b/Formula/mutt.rb index 5d9caf4..33c56bd 100644 --- a/Formula/mutt.rb +++ b/Formula/mutt.rb @@ -33,6 +33,7 @@ option "with-debug", "Build with debug option enabled" option "with-trash-patch", "Apply trash folder patch" + option "with-indexcolor-patch", "Apply indexcolor patch" option "with-s-lang", "Build against slang instead of ncurses" option "with-ignore-thread-patch", "Apply ignore-thread patch" option "with-confirm-attachment-patch", "Apply confirm attachment patch" @@ -52,6 +53,13 @@ end end + if build.with? "indexcolor-patch" + patch do + url "https://blog.x-way.org/stuff/mutt-1.5.24-indexcolor.diff" + sha256 "96c3ab28e0cb03646fbb0357650628591efabb102596978d1b05960d0e511f33" + end + end + # original source for this went missing, patch sourced from Arch at # https://aur.archlinux.org/packages/mutt-ignore-thread/ if build.with? "ignore-thread-patch" diff --git a/README.md b/README.md index 6f73ce4..a1acf52 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # homebrew-mutt -This tap contains the mutt 1.5.24 formula with updated versions of patches no longer included in the official homebrew repository (currently only the trash_folder patch). +This tap contains the mutt 1.5.24 formula with updated versions of patches no longer included in the official homebrew repository: +- trash_folder patch +- indexcolor patch ## How do I install this formula?