livecheck do
    url "https://virtualdj.com/download/mac"
    regex(/install[._-]virtualdj[._-]v?(\d+(?:\.\d+)*)[._-]b(\d+)[._-]mac\.pkg/i)
    strategy :header_match do |headers, regex|
      match = headers["location"].match(regex)