Billionaire art collector and Upper East Side gallerist Adam Lindemann’s in contract to buy Andy Warhol’s former oceanfront compound in Montauk.

The 1930s property was originally built as a “fishing camp” and still includes the main house plus six more beachfront cottages.

The seller is J.Crew CEO Mickey Drexler, who combined Warhol’s 5.7-acre estate, known as Eothen, with a 24-acre horse farm, and listed the entire property for $85 million.

But “[Adam] had no interest in the horse farm,” a source told us, and he’s just buying a parcel that’s the original Warhol property.

Lindemann also told Page Six: “I knew Andy in the early 1980s as a very young man, and I’m a collector of his work . . . I’m very lucky to have this opportunity to live out this dream. It’s a work of art.”