cask 'intellij-idea' do version '2016.3.1' sha256 'f07b304163dfc70461584abcb15fa532a626213aa41335c931e8ecb4193f1f08' url "https://download.jetbrains.com/idea/ideaIU-#{version}.dmg" name 'IntelliJ IDEA' homepage 'https://www.jetbrains.com/idea/' auto_updates true app 'IntelliJ IDEA.app' zap delete: [ "~/Library/Caches/IntelliJIdea#{version.major_minor}", "~/Library/Logs/IntelliJIdea#{version.major_minor}", "~/Library/Application Support/IntelliJIdea#{version.major_minor}", "~/Library/Preferences/IntelliJIdea#{version.major_minor}", ] end