Merge pull request #194004 from Homebrew/bump-binance-1.54.4
[Homebrew/homebrew-cask.git] / Casks / m / mailbird.rb
blobd68608682e89a185861507af08279c2a5ab2569c
1 cask "mailbird" do
2   arch arm: "Apple-silicon", intel: "Intel"
3   url_folder = on_arch_conditional arm: "apple", intel: "intel"
4   livecheck_arch = on_arch_conditional arm: "arm64", intel: "x86_64"
6   version "1.0.3"
7   sha256 arm:   "c807aa27ded2919cda7fd2d3757e5c88aa89fedd6b1f10fadfd73f331bf4e80e",
8          intel: "9f379eb8ea7b23a37885c7e8245dbe1c652b629f8d369339ebfb1e1f97306fe8"
10   url "https://download.getmailbird.com/installers/mailbird_next/macos/#{url_folder}/Mailbird-for-Mac-with-#{arch}-version-#{version}.dmg"
11   name "Mailbird"
12   desc "Email client"
13   homepage "https://www.getmailbird.com/"
15   livecheck do
16     url "https://links.getmailbird.com/mailbird_mac_#{livecheck_arch}_installer"
17     strategy :header_match
18   end
20   depends_on macos: ">= :ventura"
22   app "Mailbird.app"
24   zap trash: [
25     "~/Library/Preferences/com.getmailbird.Mailbird Helper (Renderer).plist",
26     "~/Library/Saved Application State/com.getmailbird.Mailbird.savedState",
27   ]
28 end