class MacRobber < Formula
  desc "Digital investigation tool"
  homepage "https://www.sleuthkit.org/mac-robber/"
  url "https://downloads.sourceforge.net/project/mac-robber/mac-robber/1.02/mac-robber-1.02.tar.gz"
  sha256 "5895d332ec8d87e15f21441c61545b7f68830a2ee2c967d381773bd08504806d"
  license "GPL-2.0"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "3b884509ff648339c4d66a27fff082ac80b7762c831ae9aa5599419c68d86cfd"
    sha256 cellar: :any_skip_relocation, big_sur:       "0cba6aa1a9eeca9b46559e0592b2b667d84d99f344781bce1b994aa5ad7a6e05"
    sha256 cellar: :any_skip_relocation, catalina:      "cb1d422835804b5ea784a2b9157ae77a0940902771397b235d4ad784b88f961a"
    sha256 cellar: :any_skip_relocation, mojave:        "e1fc7f112efeac70ca2583db78ad6436d5f6615a9959889f3e4c695aa72a27e8"
    sha256 cellar: :any_skip_relocation, high_sierra:   "20c99447899b82d2da937aa81a0b3afd2c865f67a97d2ca1183e01151fef9de0"
    sha256 cellar: :any_skip_relocation, sierra:        "160983c4988cb22bd68a0beeb48de91a8af3461722a42e65e523c4a6af08f444"
    sha256 cellar: :any_skip_relocation, el_capitan:    "0647670a38eb3ae5d8085ad1126f8d70b6e9ac99b086c0ec2f3301ac51ecdb3f"
    sha256 cellar: :any_skip_relocation, yosemite:      "5e8b7656cafbab151ed82702cbd7e712ee30af62b6a6c031f9f440e95c174ed0"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "ac53384d4cfcdf2b78d8abc6e8882ce7e6efd95304a9f09895a9e8a6108a4a9a"
  end

  def install
    system "make", "CC=#{ENV.cc}", "GCC_OPT=#{ENV.cflags}"
    bin.install "mac-robber"
  end
end
