Place nuts in a food processor and process until broken down and crumbly. Add dates, apricots, ½ cup coconut, coconut oil, vanilla extract and spices if using and continue to process until well combined. You can leave the mixture a little chunky for texture.