Passive cooler with heatpipes