I heard that orange oil is a good deterrent, but I've never tried it. Here is a formulation that is commercially available:
Orange Guard Organic Insect Killer 64 oz
But if you google "orange oil pesticide" I'm sure you can find plenty of recipes were you can make your own.