cask "mailmaster" do version "5.1.4,1396" sha256 :no_check url "https://res.126.net/dl/client/macmail/dashi/mail#{version.major}.dmg", verified: "res.126.net/dl/client/macmail/dashi/" name "NetEase Mail Master" name "网易邮箱大师" desc "Email client" homepage "https://dashi.163.com/" livecheck do url "https://u.163.com/macds-beta" strategy :extract_plist end auto_updates true depends_on macos: ">= :el_capitan" app "MailMaster.app" uninstall quit: "com.netease.macmail" zap trash: [ "~/Library/Application Scripts/com.netease.macmail", "~/Library/Application Scripts/com.netease.macmail-launcher", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.netease.macmail-launcher.sfl*", "~/Library/Containers/com.netease.macmail", "~/Library/Containers/com.netease.macmail-launcher", "~/Library/Preferences/com.netease.macmail.plist", "~/Library/Saved Application State/com.netease.macmail.savedState", ] end