Puree pineapple in blender until smooth and refrigerate until chilled. Blend lime juice and basil leaves. Combine 3 1/2 cups of pineapple juice, the lime-basil mixture, and Cachaca in a pitcher. Edge chilled glasses with lime juice and sugar. Pour mixture in glasses and top with club soda. Garnish with a sprig of fresh basil and slice of lime.